package com.dc.service;

import com.dc.dao.ShopcarDao;
import com.dc.model.Shopcar;
import com.dc.vo.BaseModel;
import org.springframework.beans.factory.annotation.Autowired;

public interface ShopcarService {
//    按用户id查询购物车
    BaseModel selectPageShopcarById(Integer id,Integer curr_page,Integer page_size,BaseModel baseModel) throws Exception;
//    新增购物车信息
    BaseModel addShopcar(Shopcar shopcar,BaseModel baseModel) throws Exception;
//    移除购物车
    BaseModel deletedShopcar(String ids,BaseModel baseModel) throws Exception;
}
